.profile-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.profile-header {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.user-level-badge {
  position: relative;
  width: 200px;
  height: 200px;
}

.level-circle {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.level-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.level-number {
  font-size: 48px;
  font-weight: bold;
  color: #409eff;
  line-height: 1;
}

.level-text {
  font-size: 18px;
  color: #606266;
  margin-top: 4px;
}

.level-progress {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke: #409eff;
  stroke-width: 2.8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(64, 158, 255, 0.4));
}

.achievement-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

  &.beginner {
    background: linear-gradient(135deg, #67c23a, #95d475);
  }

  &.advanced {
    background: linear-gradient(135deg, #409eff, #66b1ff);
  }

  &.expert {
    background: linear-gradient(135deg, #f56c6c, #ff9999);
  }

  &.master {
    background: linear-gradient(135deg, #e6a23c, #f3d19e);
  }
}

.profile-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.profile-card {
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;

  h2 {
    margin: 0;
    font-size: 20px;
    color: #303133;
  }
}

.statistics {
  margin: 20px 0;

  .el-card {
    text-align: center;
    
    .statistic-value {
      font-size: 24px;
      font-weight: bold;
      color: #409eff;
      margin-top: 8px;
    }
  }
}

.avatar-uploader {
  text-align: center;

  .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;

    &:hover {
      border-color: #409eff;
    }
  }

  .avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
  }

  .avatar {
    width: 100px;
    height: 100px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
  }
}

.loading {
  padding: 20px;
}
